//
//  ZGLPlayFirstView.m
//  Faker
//
//  Created by dllo on 15/10/29.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "ZGLPlayFirstView.h"

@implementation ZGLPlayFirstView
/* 重写初始化方法 */
-(instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(10 *ScaleX, 65 * ScaleX, 45 * ScaleX, 20 * ScaleX)];
        self.label.textAlignment = 1;
        self.label.font = [UIFont systemFontOfSize:13];
        [self addSubview:self.label];
        self.button = [[UIButton alloc] initWithFrame:CGRectMake(10 * ScaleX, 20 * ScaleX, 45 * ScaleX, 45 * ScaleX)];
        [self addSubview:self.button];
        
    }
    return self;
}

-(void)layoutSubviews {
    [super layoutSubviews];
    self.label.textColor = [UIColor colorWithWhite:0.477 alpha:1.000];
    
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
